
#ifndef __CONTROLLER__H_
#define __CONTROLLER__H_

#include "controller_types.h"

int controller_init(void);

int controller_update_user(user_info_t* user);

int controller_remove_user_by_pin(user_pin_t pin);

int controller_remove_user_by_token(const user_token_t* token);

int controller_find_user_by_pin(user_pin_t pin, user_info_t* user);

int controller_find_user_by_token(uint8_t type, const user_token_t* token, user_info_t* user);

void controller_input_event(const input_event_t* event);

void controller_service(void);


#endif 


